package com.spotmanger.project.modular.orgmanger.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
/**
 * DivisionRespNodeVO
 *
 * @author leihao
 * @version V1.0
 * @date 2021年8月28日
 * @mail 1321451088@qq.com
 */
@Data
public class DivisionRespNodeVO {
    @ApiModelProperty(value = "行政区划id")
    private String id;

    @ApiModelProperty(value = "行政区划编码")
    private String divisionNo;

    @ApiModelProperty(value = "上级行政区划名称")
    private String title;

    @ApiModelProperty(value = "行政区划名称")
    private String label;

    @ApiModelProperty(value = "行政区划父级id")
    private String pid;

    @ApiModelProperty(value = "组织状态")
    private Integer status;

    @ApiModelProperty(value = "组织关系id")
    private String relationCode;

    @ApiModelProperty(value = "是否展开 默认不展开(false)")
    private boolean spread = true;

    @ApiModelProperty(value = "是否选中")
    private boolean checked = false;

    private boolean disabled = false;

    @ApiModelProperty(value = "子集")
    private List<?> children;

    public String getLabel() {
        return title;
    }
}
